<?php
class Zend_View_Helper_buildMenu extends Zend_View_Helper_Abstract
{
	public function buildMenu()
	{
        $Menu = new Menu();
        $Array= $Menu->buildHierarchy();
        $newArray = $Menu->formNavHierarchy($Array);
        
        return new Zend_Navigation($newArray); 
	}
}